package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Ticket;
import cn.wolfcode.trip.base.query.TicketQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITicketService {
   //分页查询
    PageInfo query(TicketQueryObject qo);

    Ticket get(Long id);

    void save(Ticket ticket);

    void update(Ticket ticket);

    List<Ticket> listAll();
}
